/*
angular.module('app').config(['$validationProvider',function ($validationProvider) {
    var expression = {
        phone:/^1[\d]{10}/,
        password:function (value) {
            return value>5;
        }
    };
    var defaultMsg = {
        phone:{
            success:'',
            error:'手机号必须是11位'
        },
        password:{
            success:'',
            error:'长度至少为6位'
        }
    };
    $validationProvider.setExpression(expression).setDefaultMsg(defaultMsg);
}]);
*/
